<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="/CSS/default-style.css" media="all" />
<link rel="stylesheet" type="text/css" href="/CSS/header-style.css" media="all" />
<script type="text/javascript" src="/JS/jquery.js"></script>
<title>Kanedo CMS &raquo; Dashboard</title>
<script>
$(document).ready(function(){

var headline_count;
var headline_interval;
var old_headline = 0;
var current_headline = 0;

$(document).ready(function(){
	headline_count = $("div.info_content").size();
	$("div.headline:eq("+current_headline+")").css('top','5px');
		headline_interval = setInterval(headline_rotate,5000);
			$('#sub_header_info').hover(function() {
				clearInterval(headline_interval);
			}, function() {
		headline_interval = setInterval(headline_rotate,5000);
		headline_rotate();
	});
});
 
function headline_rotate() {
	current_headline = (old_headline + 1) % headline_count; 
		$("div.info_content:eq(" + old_headline + ")").animate({top: -205},"slow", function() {
			$(this).css('top','210px');
		});
	$("div.info_content:eq(" + current_headline + ")").show().animate({top: 5},"slow");  
	old_headline = current_headline;
}

	$("#sub_header_switch_info").click(function () {
		$(".sub_header_info_h3").toggle();
		$(".sub_header_info_p").toggle();
	});

	$("#sub_header_action").click(function () {
		if ($("#sub_header:first").is(":hidden")) {
			$("#sub_header").slideDown("slow");
		} else {
			$("#sub_header").slideUp("slow");
		}
	});
});
</script>
</head>